package com.block.common.exception;


import lombok.Data;

@Data
public class ERCParamsException extends  Exception{
    private  String errorCode;
    private String errorMsg;
    public ERCParamsException(){

    }
    public ERCParamsException(String errorCode, String errorMsg){
        this.errorCode=errorCode;
        this.errorMsg=errorMsg;
    }
    public ERCParamsException(String message) {
        super(message);
    }

    public ERCParamsException(String message, Throwable cause) {

        super(message, cause);
    }
}
